laravel 8 plural singular

40

laravel 8 plural singular -

echo Illuminate\Support\Str::plural('list', 1); // list
echo Illuminate\Support\Str::plural('list', 2); // lists

Comments

Submit
0 Comments